<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@ page isErrorPage="true" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>出错原因</title>
</head>
<%
if(request.getParameter("name")!=null) {
if(request.getParameter("name").equals("nopage")) {
out.println("<font color=red>没有找到您所需的网页或资源,请检查您的网址输入是否正确！</font>");
}else if(request.getParameter("name").equals("null"))  {
out.println("<font color=red>运行时发生Null错误，请告诉系统管理员！</font>");
}else if(request.getParameter("name").equals("wrong"))  {
out.println("<font color=red>发生不明错误，请告诉系统管理员！</font>");
}else if(request.getParameter("name").equals("nouser"))  {
out.println("<font color=red>用户不存在，请查看您的输入是否正确！</font>");
}
} else {
%>

<body>
<%=exception.toString()
%><br>
</body>
<%
}
%>
</html>
